﻿<%@ Page Language="VB" MasterPageFile="~/masterpages/MaestraEstado.master" AutoEventWireup="false" CodeFile="EdoGanaderia.aspx.vb" Inherits="Consulta_EdoGanaderia" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
        .style14
        {
            width: 244px;
        }
    .style15
    {
        width: 244px;
        font-weight: bold;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<p>&nbsp;</p>
    <p>
        <asp:Label ID="lblPropiedad" runat="server" Font-Bold="True" Text="PROPIEDAD :"></asp:Label>
        &nbsp;
        <asp:DropDownList ID="ddlPropiedad" runat="server" AutoPostBack="True" 
            DataSourceID="odsPropiedad" DataTextField="catnom" DataValueField="catcve" 
            style="height: 22px">
        </asp:DropDownList>
        <asp:Label ID="lblprueba" runat="server"></asp:Label>
    </p>
    <p>
        <asp:ObjectDataSource ID="odsPropiedad" runat="server" 
            OldValuesParameterFormatString="original_{0}" SelectMethod="GetCatGralBycattip" 
            TypeName="DataSet_ohlTableAdapters.catalogo_generalTableAdapter">
            <SelectParameters>
                <asp:Parameter DefaultValue="P" Name="cattip" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </p>
        <asp:RadioButtonList ID="rbtAnimal" runat="server"  
          RepeatDirection="Horizontal" Height="12px" AutoPostBack="True" 
          Font-Bold="False">
          <asp:ListItem Value="V" Selected="True">Vivos</asp:ListItem>
          <asp:ListItem Value="M">Muertos</asp:ListItem>
        </asp:RadioButtonList>
        
       <br />
        &nbsp;<asp:Panel id="pnlVivos1" 
         style="Z-INDEX: 101; LEFT: 166px; POSITION: absolute; TOP: 250px; width: 339px; height: 160px;" 
         runat="server" BorderWidth="1px">
      
      <table style="width: 313px" ID="tblvivos1">
        <tr>
            <td class="style15">MACHOS :</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td class="style14">Sementales :</td>
            <td><asp:Label ID="lblVDato1" Runat="server">0</asp:Label></td>
        </tr>
     <tr>
       <td class="style14">Sementales posible venta :</td>
       <td><asp:Label ID="lblVDato2" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">Toros para lidia :</td>
       <td><asp:Label ID="lblVDato3" Runat="server">0</asp:Label></td>
     </tr>
       <tr>
           <td class="style14">Otros :</td>
           <td><asp:Label ID="lblVDato4" Runat="server">0</asp:Label></td>
       </tr>
       <tr>
           <td class="style14">&nbsp;</td>
           <td>&nbsp;</td>
       </tr>
       <tr>
           <td class="style14">Total :</td>
           <td>
               <asp:Label ID="lblVDato5" Runat="server">0</asp:Label>
           </td>
       </tr>
   </table>
</asp:Panel>

        
        &nbsp;<asp:Panel id="pnlVivos2" 
         style="Z-INDEX: 102; LEFT: 525px; POSITION: absolute; TOP: 250px; width: 339px; height: 160px;" 
         runat="server" BorderWidth="1px">
      
      <table style="width: 313px" ID="tblvivos2">
        <tr>
            <td class="style15">HEMBRAS :</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td class="style14">Pies de cria :</td>
            <td><asp:Label ID="lblVDato6" Runat="server">0</asp:Label></td>
        </tr>
     <tr>
       <td class="style14">Pies de cria posible venta :</td>
       <td><asp:Label ID="lblVDato7" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">Por enviar a rastro :</td>
       <td><asp:Label ID="lblVDato8" Runat="server">0</asp:Label></td>
     </tr>
       <tr>
           <td class="style14">Otras :</td>
           <td><asp:Label ID="lblVDato9" Runat="server">0</asp:Label></td>
       </tr>
       <tr>
           <td class="style14">&nbsp;</td>
           <td>&nbsp;</td>
       </tr>
       <tr>
           <td class="style14">Total :</td>
           <td><asp:Label ID="lblVDato10" Runat="server">0</asp:Label></td>
       </tr>
   </table>
</asp:Panel>
    
        &nbsp;<asp:Panel id="pnlVivos3" 
         style="Z-INDEX: 103; LEFT: 166px; POSITION: absolute; TOP: 450px; width: 339px; height: 180px;" 
         runat="server" BorderWidth="1px">
      
     <table style="width: 313px" ID="tblvivos3">
     <tr>
            <td class="style15">MACHOS PARA LIDIA :</td>
            <td>&nbsp;</td>
     </tr>
     <tr>
        <td class="style14">DE 0 A 1 AÑOS :</td>
        <td><asp:Label ID="lblVDato11" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">DE 1 A 2 AÑOS :</td>
       <td><asp:Label ID="lblVDato12" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">DE 2 A 3 AÑOS :</td>
       <td><asp:Label ID="lblVDato13" Runat="server">0</asp:Label></td>
     </tr>
      <tr>
           <td class="style14">DE 3 A 3.5 AÑOS :</td>
           <td><asp:Label ID="lblVDato14" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">DE 3.5 A 4 AÑOS :</td>
           <td><asp:Label ID="lblVDato15" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">DE 4 A 5 AÑOS :</td>
           <td><asp:Label ID="lblVDato16" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">MAYORES DE 5 AÑOS :</td>
           <td><asp:Label ID="lblVDato17" Runat="server">0</asp:Label></td>
      </tr>
   </table>
</asp:Panel>

        &nbsp;<asp:Panel id="pnlVivos4" 
         style="Z-INDEX: 104; LEFT: 525px; POSITION: absolute; TOP: 450px; width: 339px; height: 180px;" 
         runat="server" BorderWidth="1px">
      
     <table style="width: 313px" ID="tblvivos4">
     <tr>
            <td class="style15">PIES DE CRIA :</td>
            <td>&nbsp;</td>
     </tr>
     <tr>
        <td class="style14">DE 0 A 1 AÑOS :</td>
        <td><asp:Label ID="lblVDato18" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">DE 1 A 2 AÑOS :</td>
       <td><asp:Label ID="lblVDato19" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">DE 2 A 3 AÑOS :</td>
       <td><asp:Label ID="lblVDato20" Runat="server">0</asp:Label></td>
     </tr>
      <tr>
           <td class="style14">DE 3 A 5 AÑOS :</td>
           <td><asp:Label ID="lblVDato21" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">DE 5 A 10 AÑOS :</td>
           <td><asp:Label ID="lblVDato22" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">DE 10 A 15 AÑOS :</td>
           <td><asp:Label ID="lblVDato23" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">MAYORES DE 15 AÑOS :</td>
           <td><asp:Label ID="lblVDato24" Runat="server">0</asp:Label></td>
      </tr>
   </table>
</asp:Panel>

       <br />
        &nbsp;<asp:Panel id="pnlMuertos1" 
         style="Z-INDEX: 105; LEFT: 166px; POSITION: absolute; TOP: 250px; width: 700px; height: 140px;" 
         runat="server" BorderWidth="1px">
      
      <table style="width: 730px" ID="tblmuertos1">
     <tr>
            <td class="style15">ANIMALES DE BAJA SEGUN CAUSA</td>
     </tr>
        <tr>
            <td class="style14">Accidentados :</td>
            <td><asp:Label ID="lblMDato1" Runat="server">0</asp:Label></td>
            <td>&nbsp;</td>
            <td class="style14">Enfermos :</td>
            <td><asp:Label ID="lblMDato5" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
            <td class="style14">Lidiados :</td>
            <td><asp:Label ID="lblMDato2" Runat="server">0</asp:Label></td>
            <td>&nbsp;</td>
           <td class="style14">Mal parto :</td>
           <td><asp:Label ID="lblMDato6" Runat="server">0</asp:Label></td>
       </tr>
     <tr>
            <td class="style14">Perdidos :</td>
            <td><asp:Label ID="lblMDato3" Runat="server">0</asp:Label></td>
            <td>&nbsp;</td>
           <td class="style14">Rastro :</td>
           <td><asp:Label ID="lblMDato7" Runat="server">0</asp:Label></td>
       </tr>
     <tr>
            <td class="style14">Vejez :</td>
            <td><asp:Label ID="lblMDato4" Runat="server">0</asp:Label></td>
            <td>&nbsp;</td>
           <td class="style14">Otros :</td>
           <td><asp:Label ID="lblMDato8" Runat="server">0</asp:Label></td>
       </tr>
   </table>
</asp:Panel>


<asp:Panel id="pnlMuertos2" 
         style="Z-INDEX: 106; LEFT: 166px; POSITION: absolute; TOP: 420px; width: 339px; height: 160px;" 
         runat="server" BorderWidth="1px">
      
     <table style="width: 313px" ID="tblmuertos2">
     <tr>
            <td class="style15">TROFEOS A TOREROS :</td>
            <td>&nbsp;</td>
     </tr>
     <tr>
        <td class="style14">Sin trofeo :</td>
        <td><asp:Label ID="lblMDato9" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">Cortando  1 oreja :</td>
       <td><asp:Label ID="lblMDato10" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">Cortando  2 orejas :</td>
       <td><asp:Label ID="lblMDato11" Runat="server">0</asp:Label></td>
     </tr>
      <tr>
           <td class="style14">Cortando  Rabo :</td>
           <td><asp:Label ID="lblMDato12" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">Cortando  Patas :</td>
           <td><asp:Label ID="lblMDato13" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">Otro :</td>
           <td><asp:Label ID="lblMDato14" Runat="server">0</asp:Label></td>
      </tr>
   </table>
</asp:Panel>

<asp:Panel id="pnlMuertos3" 
         style="Z-INDEX: 107; LEFT: 525px; POSITION: absolute; TOP: 420px; width: 339px; height: 180px;" 
         runat="server" BorderWidth="1px">
      
     <table style="width: 313px" ID="tblmuertos3">
     <tr>
            <td class="style15">TROFEOS A TOROS :</td>
            <td>&nbsp;</td>
     </tr>
     <tr>
        <td class="style14">Sin trofeo :</td>
        <td><asp:Label ID="lblMDato15" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">Arrastre lento :</td>
       <td><asp:Label ID="lblMDato16" Runat="server">0</asp:Label></td>
     </tr>
     <tr>
       <td class="style14">Vuelta al rueda :</td>
       <td><asp:Label ID="lblMDato17" Runat="server">0</asp:Label></td>
     </tr>
      <tr>
           <td class="style14">V.R. ganadero :</td>
           <td><asp:Label ID="lblMDato18" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">V.R. ambos :</td>
           <td><asp:Label ID="lblMDato19" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">Indulto :</td>
           <td><asp:Label ID="lblMDato20" Runat="server">0</asp:Label></td>
      </tr>
      <tr>
           <td class="style14">Otro :</td>
           <td><asp:Label ID="lblMDato21" Runat="server">0</asp:Label></td>
      </tr>
   </table>
</asp:Panel>


    
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>

